import request from '@/utils/request'

// 查询顾客每组照片列表
export function listPhoto(data) {
    return request({
        url: "/system/photo/indexList",
        method: "post",
        data: data,
    });
}
//按照组号删除病人照片
export function delPhotoByGroup(pIndex) {
    return request({
        url: "/system/photo/byPindex/" + pIndex,
        method: "delete",
    });
}
//启动AI模型接口
export function startAi(query) {
    return request({
        url: "/system/photo/start/ai",
        method: "get",
        params: query,
    })
}
//查询就诊列表
export function getVisit(query) {
    return request({
        url: "/system/visit/list",
        method: "get",
        params: query
    });
}
